package com.idanchuang.count.core.annotation;

import com.idanchuang.count.core.constant.UserCountEventTypeEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 异步开关
 * @author Richard_yyf
 * @version 1.0 2021/6/4
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface UserCountUpdate {

    UserCountEventTypeEnum type();

}
